package org.fuys.coder.domain.favorites.repository;

import org.fuys.coder.common.entity.Pair;
import org.fuys.coder.domain.favorites.model.vo.FavoritesIntroVO;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.favorites.repository
 * @className: IFavoriteRespository
 * @author: WangJing
 * @description: 收藏夹仓储服务
 * @date: 2024/6/19 18:11
 * @version: 1.0
 */
public interface IFavoriteRepository {
    public long createNewEmptyFavorite();

    Pair<List<Long>,Long> selectContentIdPageByFavId(Long favId, Integer curPage, Integer pageNum);

    List<FavoritesIntroVO> selectFavInfo(List<Long> ids, boolean equals);
}
